package com.xdf.swids.service;

import com.xdf.swids.dao.TenantInfoMapper;
import com.xdf.swids.model.TenantInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TenantInfoServiceImpl implements ITenantInfoService {

    private TenantInfoMapper dao;

    @Override
    public List<TenantInfo> selectAll() {
        return dao.selectAll();
    }

    @Override
    public Integer save(TenantInfo record) {
        return dao.insertSelective(record);
    }

}
